﻿/*
 代码出自项目：https://github.com/WPFDevelopersOrg/WPFDevelopers.git
 */

namespace CommonUIBase.Controls.Runtimes.Shell32
{
    public enum NIFFlags
    {
        // The uCallbackMessage member is valid.
        NIF_MESSAGE = 0x01,

        // The hIcon member is valid.
        NIF_ICON = 0x02,

        // The szTip member is valid.
        NIF_TIP = 0x04,

        //The dwState and dwStateMask members are valid.
        NIF_STATE = 0x08,

        /// <summary>
        /// Display a balloon notification.
        /// The szInfo, szInfoTitle, dwInfoFlags, and uTimeout members are valid.
        /// Note that uTimeout is valid only in Windows 2000 and Windows XP.
        /// To display the balloon notification, specify NIF_INFO and provide text in szInfo.
        /// To remove a balloon notification, specify NIF_INFO and provide an empty string through szInfo.
        /// To add a notification area icon without displaying a notification, do not set the NIF_INFO flag.
        /// </summary>
        NIF_INFO = 0x10,

        /// <summary>
        /// Windows 7 and later: The guidItem is valid.
        /// Windows Vista and earlier: Reserved.
        /// </summary>
        NIF_GUID = 0x20,

        /// <summary>
        /// Windows Vista and later. If the balloon notification cannot be displayed immediately, discard it.
        /// Use this flag for notifications that represent real-time information which would be meaningless or misleading if displayed at a later time.
        /// For example, a message that states "Your telephone is ringing."
        /// NIF_REALTIME is meaningful only when combined with the NIF_INFO flag.
        /// </summary>
        NIF_REALTIME = 0x40,

        /// <summary>
        ///  Windows Vista and later.
        ///  Use the standard tooltip.
        ///  Normally, when uVersion is set to NOTIFYICON_VERSION_4, the standard tooltip is suppressed and can be replaced by the application-drawn, pop-up UI.
        ///  If the application wants to show the standard tooltip with NOTIFYICON_VERSION_4,
        ///  it can specify NIF_SHOWTIP to indicate the standard tooltip should still be shown.
        /// </summary>
        NIF_SHOWTIP = 0x80,
    }
}